Algebra Solution